import request from '@/utils/request'

const api_name = '/centerEdu/member'

export default {
  
  // 会员登录
  submitLogin(userInfo) {
    return request({
      url: `${api_name}/login`,
      method: 'post',
      data: userInfo
    })
  },
  //根据token获取用户信息
  getLoginInfo() {
    return request({
      url: `${api_name}/getLoginInfo`,
      method: 'get',
     // headers: {'token': cookie.get('gxjy_token')}
    })
  }
}